/* 
vuex 状态管理(汇总模块)
4个核心模块
*/
import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import mutations from './mutations'
import actions from './actions'
import getters from './getters'

Vue.use(Vuex)

export default new Vuex.Store({
    state, //data
    actions,
    mutations, //methods
    getters
})